package com.hsmw.domain;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hsmw.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户-司机表
 * </p>
 *
 * @author WD
 * @since 2021-01-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="HsmwUserDriver对象", description="用户-司机表")
public class HsmwUserDriver extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户表id")
    private String userId;

    @ApiModelProperty(value = "车辆表id")
    @TableField(updateStrategy = FieldStrategy.IGNORED )
    private String vehicleId;

    private Boolean flag;

    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    @ApiModelProperty(value = "身份证正面图片")
    private String idCardFront;

    @ApiModelProperty(value = "身份证背面图片")
    private String idCardBack;

    @ApiModelProperty(value = "驾照正本")
    private String drivingLicense;

    @ApiModelProperty(value = "驾照副本")
    private String drivingLicenseCopy;

    @ApiModelProperty(value = "司机状态:空闲中  工作中")
    private String workStatus;

    @ApiModelProperty(value = "本人照片")
    private String myPicture;

    @ApiModelProperty(value = "操作证图片")
    private String operationCertificate;


    @ApiModelProperty(value = "司机评分")
    private String score;


    @ApiModelProperty(value = "司机积分")
    private String driverIntegral;

    @ApiModelProperty("首次抢单")
    private String firstOrder;


    @ApiModelProperty(value = "所属公司ID")
        private String ownCompanyId;

    @ApiModelProperty(value = "所属公司名称")
    private String ownCompanyName;
}
